export const tableOption = {
  "border": true,
  "index": true,
  "indexLabel": "序号",
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  "dialogClickModal": false,
  "searchMenuSpan": 6,
  labelWidth: 120,
  "column": [
	  {
      "type": "input",
      "label": "编号",
      "prop": "planId",
      hide: true,
      addDisplay: false,
      editDisplay: false,
      "span": 12
    },	  {
      "type": "input",
      "label": "名称",
      "prop": "name",
      search: true,
      maxlength: 48,
      rules: [{
        required: true,
        message: "请输入名称",
      }],
      "span": 24
    },	  {
      "type": "select",
      "label": "群组",
      dicUrl: '/admin/sysgroup/page?size=-1',
      props: {
        label: 'name',
        value: 'groupId',
        res: "data.records"
      },
      rules: [{
        required: true,
        message: "请选择群组",
      }],
      "prop": "groupId",
      "span": 12
    },	  {
      "type": "select",
      "label": "群组成员",
      dicUrl: '/admin/sysgroup/user/page?size=-1',
      props: {
        label: 'realname',
        value: 'userId',
        res: "data.records"
      },
      rules: [{
        required: true,
        message: "请选择群组成员",
      }],
      formslot: true,
      slot: true,
      multiple: true,
      "prop": "handleList",
      "span": 12
    },	  {
      "type": "date",
      "label": "巡检开始日期",
      "prop": "startDate",
      format: 'yyyy-MM-dd',
      valueFormat: 'yyyy-MM-dd',
      rules: [{
        required: true,
        message: "请选择巡检开始日期",
      }],
      "span": 12
    },	  {
      "type": "date",
      "label": "巡检结束日期",
      format: 'yyyy-MM-dd',
      valueFormat: 'yyyy-MM-dd',
      "prop": "endDate",
      rules: [{
        required: true,
        message: "请选择巡检结束日期",
      }],
      "span": 12
    },	  {
      "type": "time",
      "label": "起始时间",
      "prop": "startTime",
      format: 'HH:mm:ss',
      valueFormat: 'HH:mm:ss',
      rules: [{
        required: true,
        message: "请选择起始时间",
      }],
      "span": 12
    },	  {
      "type": "time",
      "label": "结束时间",
      format: 'HH:mm:ss',
      valueFormat: 'HH:mm:ss',
      "prop": "endTime",
      rules: [{
        required: true,
        message: "请选择结束时间",
      }],
      "span": 12
    },	  {
      "type": "select",
      "label": "巡检点",
      "prop": "pointIds",
      filterable: true,
      multiple: true,
      dicUrl: '/act/patrolpoint/page?size=-1',
      props: {
        label: 'name',
        value: 'pointId',
        res: "data.records"
      },
      rules: [{
        required: true,
        message: '请选择巡检点',
      }],
      "span": 12
    },	  {
      "type": "select",
      "label": "负责人",
      "prop": "handleId",
      formslot: true,
      slot: true,
      rules: [{
        required: true,
        message: "请选择负责人",
      }],
      "span": 12
    // },	  {
    //   "type": "input",
    //   "label": "计划周期",
    //   "prop": "cycle",
    //   "span": 12
    // },	  {
    //   "type": "input",
    //   "label": "签到方式",
    //   "prop": "signMethod",
    //   "span": 12
    },	  {
      "type": "textarea",
      "label": "备注",
      "prop": "remark",
      maxlength: 256,
      "span": 24
    // },	  {
    //   "type": "input",
    //   "label": "状态",
    //   "prop": "status",
    //   "span": 12
    }  ]
}
